JMFrameMouseOver
Passes a mouse-rollover event to a frame.
OSStatus JMFrameMouseOver ( JMFrameRef frame, Point localPos, short modifiers);
frame
- The frame containing the mouse. This should be the active frame.
localPos
- The position of the mouse in frame coordinates.
modifiers
- Any keyboard modifiers from the
EventRecord
. See Inside Macintosh: Macintosh Toolbox Essentials, for more information about theEventRecord
data structure.- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
To monitor the position of the mouse, you should callJMFrameMouseOver
andJMIdle
each time through the event loop. Note that the client application must keep track of the currently active frame.SEE ALSO
- The
JMIdle
function (page 23).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help